﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace BneyBaruch.Ingest.Core.WorkflowCommunication.Tracking
{
    [ServiceContract
        (
            Namespace = "http://bneybaruch/ingest/workflow",
            CallbackContract = typeof(IWorkflowTrackingServiceCallback)
        )
    ]
    public interface IWorkflowTrackingService
    {
        [OperationContract]
        void SubscribeToWorkflowTrackingEvents();

        [OperationContract(IsOneWay = true)]
        void PublishTrackRecordEvent(WorkflowTrackRecordEvent workflowTrackRecordEvent);
    }
}
